/**
* Copyright (c) 2022 - present TinyVue Authors.
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
*
* Use of this source code is governed by an MIT-style license.
*
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
*
*/

.component-css-vars-alert() {
  --ti-alert-description-font-size: var(--ti-common-font-size-base);
  --ti-alert-close-font-size: var(--ti-common-font-size-base);
  --ti-alert-border-radius: var(--ti-common-border-radius-normal);
  --ti-alert-title-text-color: var(--ti-base-color-info-normal);
  --ti-alert-nomal-content-line-height: var(--ti-common-line-height-number);
  --ti-alert-description-text-color: var(--ti-base-color-info-normal);
  --ti-alert-opration-text-color: var(--ti-base-color-brand-2);

  --ti-alert-warning-border-color: var(--ti-common-color-warn-border);
  --ti-alert-warning-icon-color: var(--ti-common-color-warn);
  --ti-alert-warning-link-text-color: var(--ti-common-color-warn-text);
  --ti-alert-warning-bg-color: var(--ti-common-color-warn-bg);

  --ti-alert-error-border-color: var(--ti-common-color-error-border-secondary);
  --ti-alert-error-icon-color: var(--ti-common-color-error);
  --ti-alert-error-link-text-color: var(--ti-common-color-error-text);
  --ti-alert-error-bg-color: var(--ti-common-color-error-bg);

  --ti-alert-success-border-color: var(--ti-common-color-success-border);
  --ti-alert-success-icon-color: var(--ti-common-color-success);
  --ti-alert-success-link-text-color: var(--ti-common-color-text-success);
  --ti-alert-success-bg-color: var(--ti-common-color-success-bg);

  --ti-alert-info-border-color: var(--ti-common-color-prompt-border);
  --ti-alert-info-icon-color: var(--ti-common-color-prompt);
  --ti-alert-info-link-text-color: var(--ti-common-color-prompt-text);
  --ti-alert-info-bg-color: var(--ti-common-color-prompt-bg);
}
